package com.niceweather.android.base

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context

/**
 *
 * Created by callhh on 2020/6/13
 * MVVM框架DEMO练习
 * 全局获取Context\全局初始化三方sdk等
 */
class BaseApplication : Application() {

    companion object{
        @SuppressLint("StaticFieldLeak")
        lateinit var context:Context
        //彩云天气api的token令牌
        const val CAIYUN_TOKEN = "G2rZazMZp64Ey2wl"

    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }

}